import * as vscode from 'vscode';
import { DashboardProvider } from './dashboardProvider';

export function activate(context: vscode.ExtensionContext) {
    console.log('Cursor Token Login 扩展已激活');

    // 注册Webview提供者
    const dashboardProvider = new DashboardProvider(context);
    
    context.subscriptions.push(
        vscode.window.registerWebviewViewProvider(
            'cursorToken.dashboardView',
            dashboardProvider
        )
    );
}

export function deactivate() {}
